<!-- 下单按钮组件 -->
<template>
  <div>
    <el-button type="primary" round @click="insertOrder()" size="medium"
      >下单</el-button
    >
  </div>
</template>

<script>
export default {
  name: "orderbutton",
  props: {
    ordersBasic: Object,
  },
  data() {
    return {

    };
  },
  methods: {
    insertOrder() {
      this.$router.push({name:"insertorders",params:{ordersBasic:this.ordersBasic}})
    },
  },
};
</script>

<style scoped></style>
